package com.baizhi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
@Data
@TableName("cmfz_resource")//资源权限表
public class CmfzResource implements Serializable {
  /*  CREATE TABLE `cmfz_resource` (
            `resource_id` int(11) NOT NULL auto_increment,
  `resource_name` varchar(50) default NULL,
            `resource_url` varchar(500) default NULL,
            `resource_type` varchar(50) default NULL,
            `resource_permission` varchar(50) default NULL,
            `resource_parent_id` int(11) default NULL,*/
    @TableId(value = "resource_id",type = IdType.AUTO)
    private Integer resourceId;
    private String resourceName;
    private String resourceUrl;
    private String resourceType;
    private String resourcePermission;
    private Integer resourceParentId;
}
